
audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}

#video ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 2px;
}

/*fadeIn、fadeInUp、fadeInDown、fadeInLeft、fadeInRight---动画*/
#video ul li {
  width: 33%;
  cursor: pointer;
  transition: all 0.5s ease;
  box-sizing: border-box;
  animation-name: fadeInLeft!important;
}

#video ul li:hover {
    transform: scale(1);
}

#video ul li:hover .video-inner p {
    color: #cd131f;
}

#video .video-box .video-inner p {
    font-size: 16px;
    font-weight: 300;
    padding: 22px 17px 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    transition: color 0.4s ease;
    -ms-transition: color 0.4s ease;
    -o-transition: color 0.4s ease;
    -webkit-transition: color 0.4s ease;
    -moz-transition: color 0.4s ease;
    text-align: center;
    line-height: 22px;
    font-weight: 700;
    text-align: center;
}

#video .video-box .video-inner .v-post .img_scale {
    overflow: hidden;
    border-radius: 5px;
}

#video .video-box .video-inner .v-post .img_scale img {
    border-radius: 5px;
    height: 281px;
    width: auto;
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 1s;
    -ms-transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 1s;
    -o-transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 1s;
    -webkit-transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 1s;
    -moz-transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 1s;
}


#video .v-post:before, #video .v-post:after {
    content: '';
    width: 64px;
    height: 64px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.4s ease;
    -ms-transition: opacity 0.4s ease;
    -o-transition: opacity 0.4s ease;
    -webkit-transition: opacity 0.4s ease;
    -moz-transition: opacity 0.4s ease;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


#video .v-post:after {
    background-image: url(../image/paly2.png);
    opacity: 0;
}

#video .v-post {
    position: relative;
}

#video .v-post:before {
    opacity: 1;
    background-image: url(../image/play.png);
}

#video .v-post:before, #video .v-post:after {
    width: 45px;
    height: 45px;
}

#video ul li:hover .v-post:before {
    opacity: 0;
}

#video ul li:hover .v-post:after {
    opacity: 1;
}


.video-zhezhao {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.8);
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}
.video-zhezhao video {
  cursor: pointer;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -40%);
  -ms-transform: translate(-50%, -40%);
  -o-transform: translate(-50%, -40%);
  -webkit-transform: translate(-50%, -40%);
  -moz-transform: translate(-50%, -40%);
  width: auto;
  min-width: 40%;
  max-height: 67%;
}
.video-zhezhao .video-close {
  position: absolute;
  left: 50%;
  top: 90%;
  z-index: 999;
  margin-left: -32px;
  transform: translateY(-92%);
  -ms-transform: translateY(-92%);
  -o-transform: translateY(-92%);
  -webkit-transform: translateY(-92%);
  -moz-transform: translateY(-92%);
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  background: rgba(225, 225, 225, 0.5);
  border-radius: 50%;
  font-size: 0;
  cursor: pointer;
  -o-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.video-zhezhao .video-close:hover {
  background: rgba(208, 11, 23, 0.5);
}

@media (max-width: 1366px) {
    #video .video-box .video-inner p {
        padding: 20px 12px;
    }
}

@media (max-width: 1200px) {
    .video .v-post:before, .video .v-post:after {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 1025px) {
  .video-zhezhao video {
    width: 90vw;
    min-width: inherit;
    max-height: inherit;
  }
  .video-zhezhao .video-close {
    top: 70%;
    width: 54px;
    height: 54px;
    line-height: 54px;
  }
  #video ul li {
    width: 50%;
  }
}

@media screen and (max-width: 769px) {
    #video .video-box .video-inner .v-post .img_scale img {
        height: auto;
        width: 100%;
    }
    #video ul li {
    width: unset;
  }
}

